FILE(GLOB SRC *.cpp *.h)

ADD_EXECUTABLE(persistant_data_service WIN32 ${SRC})

INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR})

TARGET_LINK_LIBRARIES(persistant_data_service
						servershare
						gameshare
						${LIBXML2_LIBRARIES}
						nelmisc
						nelnet)

NL_DEFAULT_PROPS(persistant_data_service "EVA, Services: Persistent Data Service (PDS)")
NL_ADD_RUNTIME_FLAGS(persistant_data_service)

ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})

INSTALL(TARGETS persistant_data_service RUNTIME DESTINATION sbin COMPONENT services)
